package com.fzy.modules.bill.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 销售订单详情
 */
@Data
public class SoBillDetail  {
    private String id;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date dateCreated;//制单时间
    private String goodsId;//商品id
    private Integer goodsCount;//销售数量
    private Double goodsMoney;//销售金额
    private Double goodsPrice;//销售单价
    private String soBillId;//销售订单id
    private Double taxRate;//税率
    private Double tax;//税金
    private Double moneyWithTax;//价税合计
    private Integer wsCount;//出库数量
    private Integer leftCount;//未出库数量
    private Integer  showOrder;
    private String dataOrg;
    private String companyId;//公司id
    private String  memo;//备注

    //非数据库字段
    private String ref;//销售订单号
    private String name;//商品名称
    private String code;//商品编号

}
